package com.fita.wechat.helper;

import java.math.BigDecimal;

import com.fita.entity.data.Country;
import com.fita.entity.order.PayType;
import com.fita.entity.set.SetPayType;

/**
 * 
 * @author dan
 *
 */
public interface VehicleHelper {
    
    /**
     * 
     * @param totalAmount
     * @param payType
     * @param currencyCode
     * @param setPayType
     * @return
     */
    public BigDecimal getDestinationPaid(BigDecimal totalAmount, PayType payType, String currencyCode, SetPayType setPayType);
    
    /**
     * 
     * @param totalAmount
     * @param currencyCode
     * @param rate
     * @param setPayType
     * @param primaryAgentRate
     * @return
     */
    public BigDecimal getDynamicPrepaid(BigDecimal totalAmount, String currencyCode, int rate, SetPayType setPayType, Integer primaryAgentRate);
    
    /**
     * 
     * @param totalAmount
     * @param currencyCode
     * @param rate
     * @param primaryAgentRate
     * @return
     */
    public BigDecimal getPrepaid(BigDecimal totalAmount, String currencyCode, int rate, Integer primaryAgentRate);
    
    /**
     * 
     * @param totalAmount
     * @param country
     * @param rate
     * @param primaryAgetnRate
     * @return
     */
    public BigDecimal getAgentCommission(BigDecimal totalAmount, Country country, int rate, Integer primaryAgetnRate);

}
